/*******************************************************************************
 * Copyright (c) 2009 Siemens AG
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Kai Toedter - initial API and implementation
 *******************************************************************************/

package com.thomsonreuters.ce.edps.ui.actions.save;

import java.util.ArrayList;
import java.util.List;

import javax.swing.Action;

import com.thomsonreuters.ce.base.application.service.IActionContribution;
import com.thomsonreuters.ce.base.application.service.ISelectionListener;

public class ActionContribution implements IActionContribution,
		ISelectionListener {

	private final List<Action> actions;

	public ActionContribution() {
		super();
		actions = new ArrayList<Action>();
		actions.add(new SavePersonAction());
	}

	@Override
	public List<Action> getActions() {
		return actions;
	}

	@Override
	public String getMenuLocation() {
		return "actions";
	}

	@Override
	public String getToolBarLocation() {
		return "actions";
	}

	@Override
	public void selectionChanged(Object selectedObject) {
		// TODO Auto-generated method stub

	}
}
